package net.yla.smartbus.core.util;

/**
 * @Author : GaoMing
 * @Create_Date : 2020/01/04/10:33
 * @Pack_name : net.seocoo.smartbus.core.util : isNumber
 * *****************************************************
 * 注释: 判断字符串是否为数字
 */
public class isNumber {

    public static Boolean isNumber(String string){
        if (string.matches("-?[0-9]+.？[0-9]*")) {
            return true;
        }
        return false;
    }
}
